package com.dyna.auth;

import com.dyna.constants.AppConstant;
import com.dyna.launch.DynaApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author zhoucaiwang
 * @date 2023/8/13
 */

@RefreshScope
@EnableFeignClients(basePackages = "com.dyna")
@EnableDiscoveryClient
@SpringBootApplication
@ComponentScan(basePackages = "com.dyna")
public class AuthApplication {

    public static void main(String[] args) {

        DynaApplication.run(AppConstant.APPLICATION_AUTH_NAME, AuthApplication.class, args);

    }

}
